package com.peng.community.constant;

public interface CommunityConstant {

    Integer ACTIVATE_SUCCESS = 0;
    Integer ACTIVATE_REPEATED = 1;
    Integer ACTIVATE_FAILURE = 2;

    int DEFAULT_EXPIRE_TIME = 3600 * 12;
    int EXTRA_EXPIRE_TIME = 3600 * 24 * 100; //三个月

    /**
     * 实体类型: 帖子
     */
    int ENTITY_TYPE_POST = 1;

    /**
     * 实体类型: 评论
     */
    int ENTITY_TYPE_COMMENT = 2;

    /**
     * 实体类型: 用户
     */
    int ENTITY_TYPE_USER = 3;

    /**
     * 消息主题：评论
     */
    String TOPIC_COMMENT = "comment";

    /**
     * 消息主题：点赞
     */
    String TOPIC_LIKE = "like";

    /**
     * 消息主题：关注
     */
    String TOPIC_FOLLOW = "follow";

    /**
     * 消息主题：发布
     */
    String TOPIC_PUBLISH = "publish";

    /**
     * 消息主题：删帖
     */
    String TOPIC_DELETE = "delete";

    /**
     * 消息主题；分享
     */
    String TOPIC_SHARE = "share";

    /**
     * 系统用户ID
     */
    int SYSTEM_USER_ID = 1;


    /**
     * 权限：用户
     */
    String AUTHORITY_USER = "user";

    /**
     * 权限：版主
     */
    String AUTHORITY_MODERATOR = "moderator";

    /**
     * 权限：用户
     */
    String AUTHORITY_ADMIN = "admin";



}
